import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { resolve } from "path";

function resolvePath(str) {
  return resolve(__dirname, str)
}

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: {
      '@': resolvePath('./src')
    }
  }
})
